package structural.bridge;

//定期存款
public class DepositAccount implements Account {

    @Override
    public Account open() {
        System.out.println("打开定期账号");
        return new DepositAccount();
    }

    @Override
    public void showAccountType() {
        System.out.println("这是一个定期账号");
    }
}
